import * as types from "./type";
import Http from '@/util/http';
import {fromJS} from "immutable";
import {errorMsg} from "@/util/global";
export const headerTopVisible = (value) => ({
    type: types.HEADER_TOP_VISIBLE,
    value: !!value
})
export const headerSearchInput = (value) => ({
    type: types.HEADER_SEARCH_INPUT,
    value
})
export const headerSearchFocused = (value) => ({
    type: types.HEADER_SEARCH_FOCUS,
    value
})
export const headerTopSearchFocused = (value) => ({
    type: types.HEADER_TOP_SEARCH_FOCUSED,
    value
})
export const headerSearchInit = () => {
    return (dispatch) => {
    }
}
